package com.zhongwang.business.gen.mapper;

import com.zhongwang.business.gen.entity.BMaterialDosageInfo;
import com.zhongwang.business.gen.entity.BMaterialDosageInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BMaterialDosageInfoMapper {
    long countByExample(BMaterialDosageInfoExample example);

    int deleteByExample(BMaterialDosageInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BMaterialDosageInfo record);

    int insertSelective(BMaterialDosageInfo record);

    List<BMaterialDosageInfo> selectByExample(BMaterialDosageInfoExample example);

    BMaterialDosageInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BMaterialDosageInfo record, @Param("example") BMaterialDosageInfoExample example);

    int updateByExample(@Param("record") BMaterialDosageInfo record, @Param("example") BMaterialDosageInfoExample example);

    int updateByPrimaryKeySelective(BMaterialDosageInfo record);

    int updateByPrimaryKey(BMaterialDosageInfo record);
}